package cn.edu.hunau.oop.day02.extend;

import org.junit.Test;

/**
 * @author hb
 * @date 2025-08-05 10:27:35
 */
public class UserTest {

    @Test
    public void testTeacher(){
        Teacher t1=new Teacher();
        t1.id="202112341234";
        t1.name="孙悟空";
        t1.rank="高级";
        t1.salary=5000;
    }

    @Test
    public void testStu(){
       Student s1=new Student();
       s1.id="202412341234";
       s1.name="张三分";
       s1.className="互联网24-3";
       s1.telphone="12312341234";
    }
}
